 <div class="span3 slave-side">
          <div class="restaurant-panel-wrapper">
            <div class="restaurant-panel"> <span class="favor-icon hidden"></span>
              <div class="restaurant-block">
                <div class="line-one">
                  <div class="logo-wrapper">
                    <div class="logo"> 
					<img class="restaurant-logo" alt="" 
					<?php if($shop['logo']==""){ ?>
					   src="<?php echo SITE_ROOT;?>/userfiles/shoplogo/logo.jpg"
					   <?php }else{?>
					   src="<?php echo SITE_ROOT;?><?php echo $shop['logo'];?>" <?php }?>/></div>
                    <!--<div class="deliver-time-wrapper"><?php echo $shop['delivery_long'];?>分钟</div> -->
                  </div>
                  <div class="info">
                    <div class="name" id="shop-name" rel="<?php echo $shop['shop_id'];?>" title="<?php echo $shop['shop_name'];?>"><?php echo $shop['shop_name'];?></div>
                    <div class="flavors three-line"><?php if(strpos($shop['shop_type'],"a1")>0){
					  		echo "本周推荐&nbsp;&nbsp;";
						}
						if(strpos($shop['shop_type'],"a2")>0){
					  		echo "江浙菜&nbsp;&nbsp;";
						}
						if(strpos($shop['shop_type'],"a3")>0){
					  		echo "快餐小吃&nbsp;&nbsp;";
						}
						if(strpos($shop['shop_type'],"a4")>0){
					  		echo "日韩料理&nbsp;&nbsp;";
						}
						if(strpos($shop['shop_type'],"a5")>0){
					  		echo "川菜&nbsp;&nbsp;";
						}
						if(strpos($shop['shop_type'],"a6")>0){
					  		echo "奶茶甜点&nbsp;&nbsp;";
						}?> </div>
                   <!-- <div class="ratings three-line">
                      <div class="r10 rating-star" title="餐厅评价：4.6星"> <span class="ratings"></span> </div>
                      <span class="rating-number">545点评 (30天内)</span> </div>
                  </div>-->
                </div>
              </div>
              <div class="restaurant-more-info">
                <div class="divider hidden"></div>
                <div class="divider hidden"></div>
                <p class="ann"><strong>公告:</strong>&nbsp;<?php echo $shop['announce'];?></p>
              <!--  <p class="restaurant-deliver-desc"><strong>起送价:</strong>&nbsp;<?php echo $shop['start_price'];?>元。</p> -->
                <p><strong>地址:</strong>&nbsp;<?php echo $shop['shop_address'];?></p>
             <!--   <p class=""><strong>距离:</strong>&nbsp;<?php echo $shop['distance'];?>米</p> -->
                <p><strong>营业时间:</strong>&nbsp;<?php echo $shop['opening_hours'];?></p>
				<p><strong>店铺描述:</strong>&nbsp;<?php echo $shop['description'];?></p>
                <p><strong>简介:</strong>&nbsp;<?php echo $shop['introduction'];?></p>
                <?php if(isset($_SESSION['_user'])){
                      		$is_favo=0;
                      		$result=mysql_query("select count(favoshop_id) a from zy_favoshop where user_id=".$_SESSION['_user']['user_id']." and shop_id=".$shop['shop_id']);
                      		if($result=mysql_fetch_array($result)){
                      			if($result['a']>0){
                      				$is_favo=1;
                      			}
                      		}
                      }else{
                      	$is_favo=2;
                      }
                   	 ?>
                <p class="btn-wrapper" id="add-favor">
                <button class="btn small yellow  hidden favor-shop zyBtn" id="favor-shop" <?php if($is_favo==0){echo "style=\"display: inline-block; \"";}?>><span>添加收藏</span></button>
                <button class="btn small secondary hidden un-favor-shop zyBtn2" id="un-favor-shop" <?php if($is_favo==1){echo "style=\"display: inline-block; \"";}?>><span>取消收藏</span></button>
                </p>
              </div>
            </div>
          </div>
        </div>
      </div>
